package com.lagou.edu.context.service.Impl;

import com.lagou.edu.context.dao.IDaoA;
import com.lagou.edu.context.service.IServiceA;
import com.lagou.edu.context.stereotype.AutoWired;
import com.lagou.edu.context.stereotype.Service;

/**
 * @Author zhaozuowen
 * @Description
 * @Date 2020/1/7 14:25
 **/

@Service
public class ServiceAImpl implements IServiceA {

    @AutoWired
    private IDaoA iDaoA;
    @Override
    public void methodA() {
        System.out.println("ServiceAImpl methodA");
        iDaoA.methodA();
    }
}
